package wzvtc.dbad.attend.entity;

import org.springframework.data.annotation.AccessType;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

/**
 * 学生
 */
@AccessType(AccessType.Type.FIELD)
@Table("T_STUDENT")
public class Student {

    private  @Id long id;
    private String phone;
    private String name;
    private long clazzId;

    public long getId() {
        return id;
    }

    public Student(String name, String phone, long clazzId) {
        this.phone = phone;
        this.name = name;
        this.clazzId = clazzId;
    }
}
